package com.auicyh.tylb.utils;

/**
 * 作者：  Ocean 2017/9/20 18:43
 * 功能：  异常类
 * Q Q：   1126067113
 * 修改：
 * @author Ocean
 */

public class TylbException extends Exception {
    private String message;
    private int errorCode;

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public TylbException(String message, int errorCode) {
        super(message);
        this.message = message;
        this.errorCode = errorCode;
    }
}
